package com.itheima.filter.service.inter;

import com.itheima.project.Dept;

import java.io.IOException;
import java.util.List;

public interface DeptService {
    public List<Dept> list() throws IOException;

    void delectDeptById(Integer id);

    void addDept(Dept dept);

    Dept getInfo(Integer id);

    void modifyDept(Dept dept);
}
